package com.dubbo.gmail.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dubbo.gmail.api.model.UserModel;
import com.dubbo.gmail.api.service.ReceiveHelloService;
import org.springframework.stereotype.Component;

@Service
@Component
public class ReceiveHelloServiceImpl implements ReceiveHelloService {
    @Override
    public String receiveHelloService(UserModel userModel) {
        System.out.println(userModel.getName());
        return "ok";
    }
}
